package com.hospital.drug.drugyan.dao;

import com.hospital.drug.drugyan.entity.Doctor_information;
import com.hospital.drug.drugyan.entity.Resignation_Form;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface ResMapper {
    /**
     * 根据id查询
     * @param id
     * @return
     */
    Doctor_information selRes(Integer id);

    /**
     * 插入信息
     */
    int insRes(Doctor_information doctor_information);

    /**
     * 查询离职人员
     */
    List<Resignation_Form> selectRes();
}
